.chart-container {
  position: relative;
  overflow: hidden;
}

.bordered {
  border: 1px solid var(--chart-grid-line-color);
}

.components-chart-box {
  position: relative;
  width: 100%;
  height: 100%;

  .chart-title {
    position: absolute;
    z-index: 11;
    top: 12px;
    left: 0;
    flex: 1;
    margin: 0;
    padding-left: 16px;
    color: #181818;
    line-height: 1;

    &::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      width: 4px;
      height: 14px;
      transform: translateY(-50%);
      background: #939393;
      clip-path: polygon(0% 0%, 100% 20%, 100% 80%, 0% 100%);
    }
  }

  .chart-title-right {
    position: absolute;
    z-index: 11;
    top: 12px;
    right: 10px;
    flex: 1;
    margin: 0;
    padding-left: 16px;
    color: #181818;
    line-height: 1;

    .ant-select-selection-item {
      border: 0;
      background-color: transparent;
    }
  }
}

/* 覆盖ant-design-vue 样式 **/

.ant-select-disabled {
  color: #000;
}

.ant-select-selection-item-content {
  color: #000;
}
